home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Franz PD / Franz PD Disk #277 (1993)(Rhein-Sieg-Soft).zip / Franz PD Disk #277 (1993)(Rhein-Sieg-Soft).adf / BootX / Install BootX < prev    next >
Text File  |  1993-03-09  |  2KB  |  62 lines

  1.  
  2. ; $VER: Install_BootX 1.10 (24.9.92)
  3.  
  4.     failat 20
  5.  
  6.     version >NIL: exec.library 37
  7.     if warn
  8.       echo "*nYou need KickStart 2.0 or higher to use this version of BootX."
  9.       echo "BootX v4.50 was the last version that supported KickStart 1.3."
  10.       echo "*nPlease upgrade your system. Your Amiga will thank you."
  11.       skip End
  12.     endif
  13.  
  14.     if exists C:Installer
  15.       echo "*nRunning the Commodore Installer utility..."
  16.       Installer >NIL: SCRIPT Installer.script APPNAME "BootX 5.20" MINUSER novice DEFUSER expert LANGUAGE english 
  17.       skip Completed
  18.     else
  19.       echo "*nA script for the Commodore Installer utility has been provided.*n"
  20.  
  21.       echo "If you have this utility either from Commodore or from an other"
  22.       echo "software package, please copy it to your C: directory.*n"
  23.  
  24.       echo "You are now given the choice to continue to install BootX using the"
  25.       echo "defaults built into this script or to abort the installation and to"
  26.       echo "restart it after you have copied the Installer program in the C:"
  27.       echo "directory.*n"
  28.  
  29.       ask "Shall I continue to install BootX ?"
  30.       if not warn
  31.         skip Aborted
  32.       else
  33.         skip Install
  34.       endif
  35.     endif
  36.  
  37. lab Install
  38.     if not exists Work:Utilities
  39.       echo "*nCreating directory 'Work:Utilities'..."
  40.       makedir Work:Utilities
  41.     endif
  42.  
  43.     echo "Copying BootX and support files..."
  44.     copy BootX#? Work:Utilities quiet clone buffer=0
  45.  
  46.     echo "Copying libraries..."
  47.     copy Libs/#? Libs: quiet clone buffer=0
  48.  
  49.     echo "Copying locale files..."
  50.     copy Locale/#? SYS:Locale quiet clone buffer=0 all
  51.  
  52. lab Completed
  53.     echo "Installation completed.*n"
  54.     skip End
  55.  
  56. lab Aborted
  57.     echo "Installation aborted!*n"
  58.  
  59. lab End
  60.     wait 5
  61.     endcli >NIL:
  62.